const express = require('express');
const apiRouter = require('./router/apiRouter');
const config = require('./config/config');

let app = express();

app.set('views','./views');
app.set('view engine','ejs');

app.use(express.urlencoded({extends:false}));
app.use(express.json());


app.use('/api',apiRouter);


app.listen(10043,()=>console.log('server start'));